@baseFontSize: 37.5;
@px2rem: 1rem/@baseFontSize;

//按钮组
.m-btn-group {
  display: flex;
  width: 100%;
  min-height: 44px;
  button {
    position: relative;
    width: 0;
    flex-grow: 1;
    display: flex;
    border: none;
    padding:5px 0;
    text-align: center;
    justify-content: center;
    // font-weight: bold;
    font-size: 17px;
    // color:#eee;
    &:not(:last-child)::after {
      content: "";
      width: 0;
      top: 20%;
      height: 60%;
      position: absolute;
      right: 0;
      border-right: 2px dashed pink;
    }

    i {
      padding-right: 10*@px2rem;
      color: pink;
    }
  }
}

//弹窗样式
.m-dialog {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 450px;

  .m-dialog-header {
    height: 1rem;
    line-height: 1rem;
    font-size: 20px;
    font-weight: normal;
    background: #52adfc;
  }

  .m-dialog-content {
    flex-grow: 1;
    background: #f7f7f7;

    .m-dialog-content-li {
      display: flex;
      width: 100%;
      min-height: 0.8rem;
      justify-content: center;
      align-items: center;
    }
  }

  .m-dialog-btn-group {
    width: 100%;
    height: 33px;
    display: flex;
    flex-direction: row-reverse;

    .btn {
      width: 50%;
      height: inherit;
      border: none;
      color: #f5f5f5;
    }

    .btn-submit {
      background: #52adfc;
    }

    .btn-reset {
      background: #fe5f55;
    }
  }
}


//sieInput再包装
.m-input {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  padding-right: 15px;
  align-items: center;

  .iconadd1 {
    font-size: 20px;
  }
}

//条码列表样式
.m-label-list {
  width: 100%;
  height: 35px;
  display: flex;
  align-items: center;
  li{
    text-align: center;
    font-size: 16*@px2rem;
  }
  li:nth-of-type(1) {
    width: 50*@px2rem;
  }
  li:nth-of-type(2){
    flex-grow: 1;
  }
  li:nth-of-type(3){
    width: 100*@px2rem;
  }
}

.m-text{
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  padding:0 15px;
  box-sizing: border-box;
  span{
    text-align: right;
    font-size: 20px;
    padding-right: 10px;
    font-weight: normal;
  }
  p{
    flex-grow: 1;
    overflow-x: scroll;
    white-space: nowrap;
    font-size: 20px;
    &::-webkit-scrollbar {
      height: 0px;
      background-color: transparent;
    }
  }
  i{
    // width: 20*@px2rem;
    // height: 20*@px2rem;
    font-size: 20px;
  }
}

// 搜索序列
.m-ul-index{
  position: fixed;
  display: flex;
  flex-direction: column;
  right:15px;
  top:100px;
  bottom: 60px;
}
.m-data-title {
  min-height: 40px;
  padding-left: 15px;
  color: black;
  // box-sizing: border-box;
}
.m-data-content {
  min-height: 30px;
  line-height: 30px;
  margin:3px 0;
  padding-left: 15px;
  font-size: 20px;
  box-sizing: border-box;
  background: #f5f5f5;
  &:first-of-type,
  &:last-of-type {
    margin: 0;
  }
  span {
    font-size: 18px;
    padding-left: 10px;
    color: #666;
    // box-sizing: border-box;
  }
}

.r_cell {
  display: flex;
  position: relative;
  flex-direction: row;
  width: 100%;
  padding: 0 15px;
  height: 35px;
  line-height: 35px;
  font-weight: normal;
  box-sizing: border-box;
}
.show{
  width: 0;
  flex-grow: 1;
  box-sizing: border-box;
  border-radius: 5px;
  font-size: 20px;
  font-weight: normal;
  overflow: scroll;
  white-space: nowrap;
  &::-webkit-scrollbar {
    height: 0px;
    background-color:transparent;
  }
}
.r_p {
  font-size: 20px;
  padding-right: 10px;
  box-sizing: border-box;
  white-space: nowrap;
  color: #000;
}
.left {
  text-align: left;
}
.right {
  text-align: right;
}
.center {
  text-align: center;
}
.r_input {
  width: 0;
  flex-grow: 1;
  border: 1px solid #ccc;
  height: 30px;
  line-height: 30px;
  border-radius: 5px;
  font-size: 20px;
  box-sizing: border-box;
  padding-left: 5px;
  position: relative;
  display: flex;
}
.disabled {
  background-color: #ccc;
  opacity: 0.6;
}
.w_60{
  width:66px;
}
.w_80{
  width:80px;
}
.w_85{
  width:85px;
}
.w_90{
  width:90px;
}
.w_95{
  width:95px;
}
.w_100{
  width:100px;
}
.r_i{
  // font-size: 20px;
}
.demo-content {
  width: 96%;
  display: block;
  margin: 5px auto;
  border: 1px solid skyblue;
  // border-radius: 8px;
  background: #f5f5f5;
  padding-bottom: 5px;
  .demo {
    display: block;
    padding: 0 15px;
    .title,
    .text {
      display: flex;
      font-size: 19px;
    }
    .title {
      font-weight: normal;
      span {
        width: 0;
        flex-grow: 1;
        margin-top: 10px;
        margin-left: 20px;
        &:first-child {
          margin-left: 0;
        }
      }
    }
    .text {
      p {
        width: 0;
        flex-grow: 1;
        min-height: 30px;
        border-bottom: 1px solid #666;
        margin-left: 20px;
        &:first-child {
          margin-left: 0;
        }
      }
      input{
        margin-left: 20px;
        &:first-child {
          margin-left: 0;
        }
      }
    }
  }
}
